//
//  HasSpecFmdbTool.h
//  HAODE
//
//  Created by LiYinDi on 16/5/14.
//  Copyright © 2016年 reabam.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDB.h"
#import "HasSpecFmdbModel.h"
@interface HasSpecFmdbTool : NSObject
+ (BOOL)insert:(HasSpecFmdbModel *)model;
+ (NSArray *)queryData:(NSString *)querySql;
+ (BOOL)modifyData:(NSString *)modifySql model:(HasSpecFmdbModel *)model;
+ (BOOL)deleteData:(NSString *)deleteSql;
+(NSString *)getTotalSpecMoney:(HasSpecFmdbModel *)model;

+ (BOOL)modifySpecCountWithLimit:(HasSpecFmdbModel *)model countText:(NSString *)countText;
+ (BOOL)modifySpecCountNoLimit:(HasSpecFmdbModel *)model countText:(NSString *)countText;
@end
